package com.example.multi.service;

import com.example.multi.config.ExecutorConstant;
import com.example.multi.entity.User;
import org.springframework.scheduling.annotation.Async;

import java.util.List;
import java.util.concurrent.Future;

public interface ITestAsyncService {

    void asyncFunction_1();

    void asyncFunction_2();

    void asyncFunction_3();

    Future<Integer> asyncReturnDta_1();

    Future<Integer> asyncReturnDta_2();

    Future<Integer> asyncReturnDtaTimeOut();
}
